package cn.boy.dao;

import cn.boy.domain.Student;

public interface StudentDao {

	public abstract void add(Student student);

	public abstract void delete(String no);

	public abstract void update(Student student);
	
	public abstract void update(String no,String password);

	public abstract String queryAll();

	/**
	 * 根据宿舍号查询学生
	 * @param dormitoryNO
	 * @return
	 */
	public abstract String queryStudentsByDormitoryNO(String dormitoryNO);

	public abstract String query(String no);
	
	public abstract String query(String no,String password);

}